
package STUDENTS.TRANTHAIHA.DEMO;

import java.util.Scanner;

public class baitap01while {
	public static void main(String[] args) {
		String strUsername = "";
		String strPass = "";
		Scanner sc;
		do {
			System.out.println("moi nhap username");
			sc = new Scanner(System.in);
			strUsername = sc.nextLine();
		} while (strUsername.isEmpty());

		while (strPass.isEmpty()) {
			System.out.println("moi nhap pass");
			strPass = sc.nextLine();
		}

		if (strUsername.equals("ha91") && strPass.equals("nothing")) {
			System.out.println("ban danh nhap thanh cong");
		} else {
			System.out.println("tai khoan khong ton tai");
		}
	}
}
